package multidraw.model.commands;

import multidraw.model.Canvas;

public class AddCharCommand extends Command {
	private long shapeID;
	private char ch;
	
	public AddCharCommand(long id, char ch) {
		this.shapeID = id;
		this.ch = ch;
	}
	
	public void execute() {
		if (canvas != null)
			canvas.applyAddChar(shapeID, ch);
	}
}
